
package system.base;

//import com.v3.item.Catalog;
//import com.v3.util.StringFactory;

import system.data.OrderDetailSignInBase;
import framework.core.Conditions;
import framework.core.DBConnection;
import framework.core.DBEngine;
import framework.core.DBResult;


public class OrderDetailSignIn extends OrderDetailSignInBase 
{

//----system generated start----// 	
public OrderDetailSignIn() 
{
	
}


public static OrderDetailSignIn fetch()
{
	return new OrderDetailSignIn();
}




public static OrderDetailSignIn fetch(DBConnection con,Conditions conditions) throws Exception
{
	DBResult result = null;
	try
	{
		result = DBEngine.doSelect(con,"select * from " + TABLE_NAME,conditions);
		java.sql.ResultSet rs = result.getRs();
		OrderDetailSignIn obj = null;
		if(rs.next())
		{
			obj = fetch(rs);
		}
		return obj;
	}
	finally
	{
		if(result!=null) result.clear() ;
	}
}
public static OrderDetailSignIn fetch(java.sql.ResultSet rs) throws Exception
{
	OrderDetailSignIn obj = new OrderDetailSignIn();
	obj.initObject(rs);
	return obj;
}
}

